package spatialmarketplace.cem.model;

/**
 *
 * @author Laura Andreina
 */
public class User extends ModelBase {

    private Integer userId;
    private String userName;
    private String photo;
    private String profileDescription;
    private String position;
    private String contactNumber;
    private String email;

    /**
     * Constructor
     */
    public User() {
    }

    /**
     * Constructor
     *
     * @param userId
     * @param userName
     * @param photo
     * @param profileDescription
     * @param position
     * @param contactNumber
     * @param email
     */
    public User(Integer userId, String userName, String photo, String profileDescription, String position, String contactNumber, String email) {
        this.userId = userId;
        this.userName = userName;
        this.photo = photo;
        this.profileDescription = profileDescription;
        this.position = position;
        this.contactNumber = contactNumber;
        this.email = email;
    }

    public User(String userName) {
        this.userName = userName;

    }

    public String getContactNumber() {
        return contactNumber;
    }

    public void setContactNumber(String contactNumber) {
        this.contactNumber = contactNumber;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getProfileDescription() {
        return profileDescription;
    }

    public void setProfileDescription(String profileDescription) {
        this.profileDescription = profileDescription;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    @Override
    public String toString() {
        return "User{" + "userId=" + userId + ", userName=" + userName + ", photo=" + photo + ", profileDescription=" + profileDescription + ", position=" + position + ", contactNumber=" + contactNumber + ", email=" + email + '}';
    }
}
